package com.edu.entity;

public class Dispatch {
	private int dispatchId;
	private String tNum; //派车编号-车牌号
	private String dTrigger;//出发时间
	private String dReach;//到达时间
	private String dDepart;//出发地点
	private String dPurpose;//目的地点
	private String dReturn;//回程时间
	private String dJob;//驾驶员工号
	private String dName;//驾驶员姓名
	private String dPhone;//联系方式
	
	public Dispatch(String tNum, String dTrigger, String dReach, String dDepart, String dPurpose, String dReturn,
			String dJob, String dName, String dPhone) {
		super();
		this.tNum = tNum;
		this.dTrigger = dTrigger;
		this.dReach = dReach;
		this.dDepart = dDepart;
		this.dPurpose = dPurpose;
		this.dReturn = dReturn;
		this.dJob = dJob;
		this.dName = dName;
		this.dPhone = dPhone;
	}
	public int getDispatchId() {
		return dispatchId;
	}
	public void setDispatchId(int dispatchId) {
		this.dispatchId = dispatchId;
	}
	public String gettNum() {
		return tNum;
	}
	public void settNum(String tNum) {
		this.tNum = tNum;
	}
	public String getdTrigger() {
		return dTrigger;
	}
	public void setdTrigger(String dTrigger) {
		this.dTrigger = dTrigger;
	}
	public String getdReach() {
		return dReach;
	}
	public void setdReach(String dReach) {
		this.dReach = dReach;
	}
	public String getdDepart() {
		return dDepart;
	}
	public void setdDepart(String dDepart) {
		this.dDepart = dDepart;
	}
	public String getdPurpose() {
		return dPurpose;
	}
	public void setdPurpose(String dPurpose) {
		this.dPurpose = dPurpose;
	}
	public String getdReturn() {
		return dReturn;
	}
	public void setdReturn(String dReturn) {
		this.dReturn = dReturn;
	}
	public String getdJob() {
		return dJob;
	}
	public void setdJob(String dJob) {
		this.dJob = dJob;
	}
	public String getdName() {
		return dName;
	}
	public void setdName(String dName) {
		this.dName = dName;
	}
	public String getdPhone() {
		return dPhone;
	}
	public void setdPhone(String dPhone) {
		this.dPhone = dPhone;
	}
	@Override
	public String toString() {
		return "Dispatch [dispatchId=" + dispatchId + ", tNum=" + tNum + ", dTrigger=" + dTrigger + ", dReach=" + dReach
				+ ", dDepart=" + dDepart + ", dPurpose=" + dPurpose + ", dReturn=" + dReturn + ", dJob=" + dJob
				+ ", dName=" + dName + ", dPhone=" + dPhone + "]";
	}
	public Dispatch(int dispatchId, String tNum, String dTrigger, String dReach, String dDepart, String dPurpose,
			String dReturn, String dJob, String dName, String dPhone) {
		super();
		this.dispatchId = dispatchId;
		this.tNum = tNum;
		this.dTrigger = dTrigger;
		this.dReach = dReach;
		this.dDepart = dDepart;
		this.dPurpose = dPurpose;
		this.dReturn = dReturn;
		this.dJob = dJob;
		this.dName = dName;
		this.dPhone = dPhone;
	}
	public Dispatch() {
		super();
	}
	
	
}
